import App from './App'
import "./pages/assets/css/base.css" //引入全局base样式
import "./pages/assets/css/base_init.css" //引入全局base样式
import "./pages/assets/css/base_components.css" //引入全局base样式
//引入pinia
import { createPinia } from 'pinia'
import piniaPersist from 'pinia-plugin-persist'
//引入vant
import Vant from 'vant';
import 'vant/lib/index.css';


import {
	createSSRApp,
	ref
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	
	app.provide("ENV", "develop")
	const pinia = createPinia()
	pinia.use(piniaPersist)
	app.use(pinia)
	app.use(Vant)
	
	return {
		app
	}
}